package tech.aistar.entity;

public class Programming {
    private Long proId;

    private String proStem;

    private String proInput;

    private String proAnswer;

    private String proExplain;

    private String proLanguage;

    private String proDiff;

    private Long proCount;

    private Long proRight;

    public Programming() {
    }

    public Programming(String proStem, String proInput, String proAnswer, String proExplain, String proLanguage, String proDiff, Long proCount, Long proRight) {
        this.proStem = proStem;
        this.proInput = proInput;
        this.proAnswer = proAnswer;
        this.proExplain = proExplain;
        this.proLanguage = proLanguage;
        this.proDiff = proDiff;
        this.proCount = proCount;
        this.proRight = proRight;
    }

    public Long getProId() {
        return proId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    public String getProStem() {
        return proStem;
    }

    public void setProStem(String proStem) {
        this.proStem = proStem == null ? null : proStem.trim();
    }

    public String getProInput() {
        return proInput;
    }

    public void setProInput(String proInput) {
        this.proInput = proInput == null ? null : proInput.trim();
    }

    public String getProAnswer() {
        return proAnswer;
    }

    public void setProAnswer(String proAnswer) {
        this.proAnswer = proAnswer == null ? null : proAnswer.trim();
    }

    public String getProExplain() {
        return proExplain;
    }

    public void setProExplain(String proExplain) {
        this.proExplain = proExplain == null ? null : proExplain.trim();
    }

    public String getProLanguage() {
        return proLanguage;
    }

    public void setProLanguage(String proLanguage) {
        this.proLanguage = proLanguage == null ? null : proLanguage.trim();
    }

    public String getProDiff() {
        return proDiff;
    }

    public void setProDiff(String proDiff) {
        this.proDiff = proDiff == null ? null : proDiff.trim();
    }

    public Long getProCount() {
        return proCount;
    }

    public void setProCount(Long proCount) {
        this.proCount = proCount;
    }

    public Long getProRight() {
        return proRight;
    }

    public void setProRight(Long proRight) {
        this.proRight = proRight;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Programming{");
        sb.append("proId=").append(proId);
        sb.append(", proStem='").append(proStem).append('\'');
        sb.append(", proInput='").append(proInput).append('\'');
        sb.append(", proAnswer='").append(proAnswer).append('\'');
        sb.append(", proExplain='").append(proExplain).append('\'');
        sb.append(", proLanguage='").append(proLanguage).append('\'');
        sb.append(", proDiff='").append(proDiff).append('\'');
        sb.append(", proCount=").append(proCount);
        sb.append(", proRight=").append(proRight);
        sb.append('}');
        return sb.toString();
    }
}